package com.valenx.distributedmulticamerasystem;

import com.valenx.distributedmulticamerasystem.slice.CameraAbilitySlice;
import ohos.aafwk.ability.Ability;
import ohos.aafwk.content.Intent;
import ohos.agp.window.service.WindowManager;

public class CameraAbility extends Ability {
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        super.setMainRoute(CameraAbilitySlice.class.getName());
        WindowManager.getInstance().getTopWindow().get().setTransparent(true);
    }
}
